protected function getSpressSiteDir()
    {
        $rootPackage = $this->composer->getPackage();
        $extras = $rootPackage->getExtra();

        return isset($extras[self::EXTRA_SPRESS_SITE_DIR]) ? $extras[self::EXTRA_SPRESS_SITE_DIR].'/' : '';
    }
protected function getSpressSiteDir()
    {
        $rootPackage = $this->composer->getPackage();
        $extras = $rootPackage->getExtra();

        return isset($extras[self::EXTRA_SPRESS_SITE_DIR]) ? $extras[self::EXTRA_SPRESS_SITE_DIR].'/' : '';
    }
protected function getSpressSiteDir ( ) { $ rootPackage = $ this -> composer -> getPackage ( ) ; $ extras = $ rootPackage -> getExtra ( ) ; return isset ( $ extras [ self :: EXTRA_SPRESS_SITE_DIR ] ) ? $ extras [ self :: EXTRA_SPRESS_SITE_DIR ] . '/' : '' ; }
Returns the Spress site directory. If the extra attributte
"spress_site_dir" is not presents in the "extra" section of the root
package,.

@return string If the extra attributte
"spress_site_dir" is not presents in the "extra" section of the root
package, an empty string will be return
Returns the Spress site directory . If the extra attributte spress_site_dir is not presents in the extra section of the root package .