protected function getSharedDir()
    {
        $shared = $this->app->getSourceDir() . '/' . $this->config->get('local.shared_dir');
        if (!$this->app->isSingle()) {
            $shared .= '/' . preg_replace('/[^a-z0-9\-_]+/i', '-', $this->app->getName());
        }
        $this->fsHelper->mkdir($shared);

        return $shared;
    }
protected function getSharedDir()
    {
        $shared = $this->app->getSourceDir() . '/' . $this->config->get('local.shared_dir');
        if (!$this->app->isSingle()) {
            $shared .= '/' . preg_replace('/[^a-z0-9\-_]+/i', '-', $this->app->getName());
        }
        $this->fsHelper->mkdir($shared);

        return $shared;
    }
protected function getSharedDir ( ) { $ shared = $ this -> app -> getSourceDir ( ) . '/' . $ this -> config -> get ( 'local.shared_dir' ) ; if ( ! $ this -> app -> isSingle ( ) ) { $ shared .= '/' . preg_replace ( '/[^a-z0-9\-_]+/i' , '-' , $ this -> app -> getName ( ) ) ; } $ this -> fsHelper -> mkdir ( $ shared ) ; return $ shared ; }
Get the directory containing files shared between builds.

This will be 'shared' for a single-application project, or
'shared/<appName>' when there are multiple applications.

@return string|false
Get the directory containing files shared between builds .