public function getPrecedence(string $name)
    {
        if (!isset($this->search_path[$name]))
            throw new \InvalidArgumentException("Unknown module: " . $name);

        return $this->search_path[$name]['precedence'];
    }
public function getPrecedence(string $name)
    {
        if (!isset($this->search_path[$name]))
            throw new \InvalidArgumentException("Unknown module: " . $name);

        return $this->search_path[$name]['precedence'];
    }
public function getPrecedence ( string $ name ) { if ( ! isset ( $ this -> search_path [ $ name ] ) ) throw new \ InvalidArgumentException ( "Unknown module: " . $ name ) ; return $ this -> search_path [ $ name ] [ 'precedence' ] ; }
Get the precedence value of a module
@param string $name The name of the module
@return int The precedence value
Get the precedence value of a module