Habari\StackItem::__construct PHP Метод

__construct() публичный Метод

Constructor for StackItem
public __construct ( string $name, string $version, mixed $resource )
$name string Name of the item
$version string PHP version string-compatible version number
$resource mixed Value of the item
    public function __construct($name, $version, $resource)
    {
        $this->name = $name;
        $this->version = $version;
        $this->resource = $resource;
    }