public function registerHalyconDatasource()
    {
        $resolver = App::make('halcyon');

        if (!$resolver->hasDatasource($this->dirName)) {
            $datasource = new FileDatasource($this->getPath(), App::make('files'));
            $resolver->addDatasource($this->dirName, $datasource);
        }
    }
public function registerHalyconDatasource()
    {
        $resolver = App::make('halcyon');

        if (!$resolver->hasDatasource($this->dirName)) {
            $datasource = new FileDatasource($this->getPath(), App::make('files'));
            $resolver->addDatasource($this->dirName, $datasource);
        }
    }
public function registerHalyconDatasource ( ) { $ resolver = App :: make ( 'halcyon' ) ; if ( ! $ resolver -> hasDatasource ( $ this -> dirName ) ) { $ datasource = new FileDatasource ( $ this -> getPath ( ) , App :: make ( 'files' ) ) ; $ resolver -> addDatasource ( $ this -> dirName , $ datasource ) ; } }
Ensures this theme is registered as a Halcyon them datasource.
@return void
Ensures this theme is registered as a Halcyon them datasource .