Leafo\ScssPhp\Server::inputName PHP Méthode

inputName() protected méthode

Get name of requested .scss file
protected inputName ( ) : string | null
Résultat string | null
    protected function inputName()
    {
        switch (true) {
            case isset($_GET['p']):
                return $_GET['p'];
            case isset($_SERVER['PATH_INFO']):
                return $_SERVER['PATH_INFO'];
            case isset($_SERVER['DOCUMENT_URI']):
                return substr($_SERVER['DOCUMENT_URI'], strlen($_SERVER['SCRIPT_NAME']));
        }
    }