PHP Class Newscoop\Entity\Theme\Loader\LocalLoader

Inheritance: implements Newscoop\Entity\Theme\Loader\Loader
Show file Open project: sourcefabric/newscoop

Protected Properties

Property Type Description
$path string

Public Methods

Method Description
__construct ( string $path )
find ( string $offset ) : Theme Get theme
findAll ( ) : Traversable Get all themes

Private Methods

Method Description
formatPath ( string $offset = '*' ) : string Format path for offset

Method Details

__construct() public method

public __construct ( string $path )
$path string

find() public method

Get theme
public find ( string $offset ) : Theme
$offset string
return Newscoop\Entity\Theme

findAll() public method

Get all themes
public findAll ( ) : Traversable
return Traversable

Property Details

$path protected property

protected string $path
return string