public function getLocations()
    {
        if ($this->matchesCakeVersion('>=', '3.0.0')) {
            $this->locations['plugin'] =  $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
        }
        return $this->locations;
    }
public function getLocations()
    {
        if ($this->matchesCakeVersion('>=', '3.0.0')) {
            $this->locations['plugin'] =  $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
        }
        return $this->locations;
    }
public function getLocations ( ) { if ( $ this -> matchesCakeVersion ( '>=' , '3.0.0' ) ) { $ this -> locations [ 'plugin' ] = $ this -> composer -> getConfig ( ) -> get ( 'vendor-dir' ) . '/{$vendor}/{$name}/' ; } return $ this -> locations ; }
Change the default plugin location when cakephp >= 3.0
Change the default plugin location when cakephp > = 3 . 0