src/endobox/BoxFactory.php
public function addFolder(string $path)
    {
        if (!\is_dir($path)) {
            throw new \RuntimeException(\sprintf('The path "%s" does not exist or is not a directory.', $path));
        }
        $this->paths[] = $path;
    }
public function addFolder(string $path)
    {
        if (!\is_dir($path)) {
            throw new \RuntimeException(\sprintf('The path "%s" does not exist or is not a directory.', $path));
        }
        $this->paths[] = $path;
    }
public function addFolder ( string $ path ) { if ( ! \ is_dir ( $ path ) ) { throw new \ RuntimeException ( \ sprintf ( 'The path "%s" does not exist or is not a directory.' , $ path ) ) ; } $ this -> paths [ ] = $ path ; }
Add another folder to the list of template paths.
Add another folder to the list of template paths .