Файл: gapps/vendor/classpreloader/classpreloader/src/ClassNode.php
Строк: 34
<?php
/*
* This file is part of Class Preloader.
*
* (c) Graham Campbell <graham@alt-three.com>
* (c) Michael Dowling <mtdowling@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace ClassPreloader;
/**
* This is the class node class.
*
* This class contains a value, and the previous/next pointers.
*/
class ClassNode
{
/**
* The next node pointer.
*
* @var ClassPreloaderClassNode|null
*/
public $next;
/**
* The previous node pointer.
*
* @var ClassPreloaderClassNode|null
*/
public $prev;
/**
* The value of the class node.
*
* @var mixed
*/
public $value;
/**
* Create a new class node instance.
*
* @param mixed $value
* @param ClassPreloaderClassNode|null $prev
*
* @return void
*/
public function __construct($value = null, $prev = null)
{
$this->value = $value;
$this->prev = $prev;
}
}