Leafo\ScssPhp\Server::findInput PHP Method

findInput() protected method

Get path to requested .scss file
protected findInput ( ) : string
return string
    protected function findInput()
    {
        if (($input = $this->inputName()) && strpos($input, '..') === false && substr($input, -5) === '.scss') {
            $name = $this->join($this->dir, $input);
            if (is_file($name) && is_readable($name)) {
                return $name;
            }
        }
        return false;
    }