PHP Class Newscoop\File\Manager\LocalManager

Inheritance: implements Manager
显示文件 Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$files array
$path path
$repository Newscoop\Entity\Repository\TemplateRepository
$root string

Public Methods

Method Description
__construct ( string $path, string $root, TemplateRepository $repository )
count ( ) : integer Implements Countable::count
current ( ) : Template Implements Iterator::current
key ( ) : integer Implements Iterator::key
next ( ) : void Implements Iterator::next
rewind ( ) : void Implements Iterator::rewind
valid ( ) : boolean Implements Iterator::valid

Method Details

__construct() public method

public __construct ( string $path, string $root, TemplateRepository $repository )
$path string
$root string
$repository Newscoop\Entity\Repository\TemplateRepository

count() public method

Implements Countable::count
public count ( ) : integer
return integer

current() public method

Implements Iterator::current
public current ( ) : Template
return Newscoop\Entity\Template

key() public method

Implements Iterator::key
public key ( ) : integer
return integer

next() public method

Implements Iterator::next
public next ( ) : void
return void

rewind() public method

Implements Iterator::rewind
public rewind ( ) : void
return void

valid() public method

Implements Iterator::valid
public valid ( ) : boolean
return boolean

Property Details

$files protected_oe property

protected array $files
return array

$path protected_oe property

protected path $path
return path

$repository protected_oe property

protected TemplateRepository,Newscoop\Entity\Repository $repository
return Newscoop\Entity\Repository\TemplateRepository

$root protected_oe property

protected string $root
return string