private function setPaths($baseDirectory)
    {
        $this->setOption('ROOT', rtrim($baseDirectory, '/') . '/');
        $this->setOption('CORE', dirname(dirname(dirname(__DIR__))) . '/');
        $this->setOption('PUBLIC', self::ROOT() . 'public/');
        $this->setOption('TEMPLATES', self::ROOT() . 'templates/');
        $this->setOption('MODULES', self::ROOT() . 'modules/');
        $this->setOption('PLUGINS', self::ROOT() . 'plugins/');
        $this->setOption('COMPONENTS', self::ROOT() . 'components/');
    }
private function setPaths($baseDirectory)
    {
        $this->setOption('ROOT', rtrim($baseDirectory, '/') . '/');
        $this->setOption('CORE', dirname(dirname(dirname(__DIR__))) . '/');
        $this->setOption('PUBLIC', self::ROOT() . 'public/');
        $this->setOption('TEMPLATES', self::ROOT() . 'templates/');
        $this->setOption('MODULES', self::ROOT() . 'modules/');
        $this->setOption('PLUGINS', self::ROOT() . 'plugins/');
        $this->setOption('COMPONENTS', self::ROOT() . 'components/');
    }
private function setPaths ( $ baseDirectory ) { $ this -> setOption ( 'ROOT' , rtrim ( $ baseDirectory , '/' ) . '/' ) ; $ this -> setOption ( 'CORE' , dirname ( dirname ( dirname ( __DIR__ ) ) ) . '/' ) ; $ this -> setOption ( 'PUBLIC' , self :: ROOT ( ) . 'public/' ) ; $ this -> setOption ( 'TEMPLATES' , self :: ROOT ( ) . 'templates/' ) ; $ this -> setOption ( 'MODULES' , self :: ROOT ( ) . 'modules/' ) ; $ this -> setOption ( 'PLUGINS' , self :: ROOT ( ) . 'plugins/' ) ; $ this -> setOption ( 'COMPONENTS' , self :: ROOT ( ) . 'components/' ) ; }
Set application paths.

@since 1.0.1

@param string $baseDirectory → directory where class is instantiated
Set application paths .