PHP Class Inpsyde_Directory_Load

Author: Inpsyde GmbH, toscho
Inheritance: implements Inpsyde_Autoload_Rule_Interface
Exibir arquivo Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( string $dir ) Constructor.
load ( string $name ) : boolean Parse class/trait/interface name and load file.

Private Methods

Method Description
read_files ( ) : array Read the existing files once.

Method Details

__construct() public method

Constructor.
public __construct ( string $dir )
$dir string

load() public method

Parse class/trait/interface name and load file.
public load ( string $name ) : boolean
$name string
return boolean