public function findPath(AnServiceIdentifier $identifier)
    {
        $path = '';

        if (!empty($identifier->path)) {
            $path .= implode('/', $identifier->path);
        }

        if (!empty($identifier->name)) {
            $path .= '/'.$identifier->name;
        }

        $path = $identifier->basepath.'/'.$path.'.php';

        return $path;
    }
public function findPath(AnServiceIdentifier $identifier)
    {
        $path = '';

        if (!empty($identifier->path)) {
            $path .= implode('/', $identifier->path);
        }

        if (!empty($identifier->name)) {
            $path .= '/'.$identifier->name;
        }

        $path = $identifier->basepath.'/'.$path.'.php';

        return $path;
    }
public function findPath ( AnServiceIdentifier $ identifier ) { $ path = '' ; if ( ! empty ( $ identifier -> path ) ) { $ path .= implode ( '/' , $ identifier -> path ) ; } if ( ! empty ( $ identifier -> name ) ) { $ path .= '/' . $ identifier -> name ; } $ path = $ identifier -> basepath . '/' . $ path . '.php' ; return $ path ; }
Get the path based on an identifier.

@param  object  	An identifier object - anahita:[path].name

@return string Returns the path
Get the path based on an identifier .