src/Repository.php
public function getComponentPath($component)
    {
        try {
            return $this->findOrFail($component)->getPath() . '/';
        } catch (ComponentNotFoundException $e) {
            return $this->getPath() . '/' . Str::studly($component) . '/';
        }
    }
public function getComponentPath($component)
    {
        try {
            return $this->findOrFail($component)->getPath() . '/';
        } catch (ComponentNotFoundException $e) {
            return $this->getPath() . '/' . Str::studly($component) . '/';
        }
    }
public function getComponentPath ( $ component ) { try { return $ this -> findOrFail ( $ component ) -> getPath ( ) . '/' ; } catch ( ComponentNotFoundException $ e ) { return $ this -> getPath ( ) . '/' . Str :: studly ( $ component ) . '/' ; } }
Get component path for a specific component.

@param $component

@return string
Get component path for a specific component .