AddToListCommand::__construct PHP Метод

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

public __construct ( array &$list )
$list array passed by reference so we can acces 'list' from outside this class
    public function __construct(&$list)
    {
        //pass by reference
        $this->list =& $list;
    }
AddToListCommand