for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* DataStructures for PHP
*
* @link https://github.com/SiroDiaz/DataStructures
* @copyright Copyright (c) 2017 Siro Díaz Palazón
* @license https://github.com/SiroDiaz/DataStructures/blob/master/README.md (MIT License)
*/
namespace DataStructures\Lists\Nodes;
* SinglyLinkedListNode is the node atomic structure of lists.
* @author Siro Diaz Palazon <[email protected]>
class SinglyLinkedListNode {
public $data = null;
public $next = null;
public function __construct($data) {
$this->data = $data;
}