M1\Vars\Loader\DirectoryLoader::__construct PHP Method

__construct() public method

Construct the loader with the passed entity
public __construct ( string $entity, boolean $recursive )
$entity string The passed entity
$recursive boolean Search the directories recursively
    public function __construct($entity, $recursive)
    {
        parent::__construct($entity);
        $this->recursive = $recursive;
    }