File "LocalFileDetector.php"

Full Path: /home/clickysoft/public_html/jmapi5.clickysoft.net/vendor/php-webdriver/webdriver/lib/Remote/LocalFileDetector.php
File size: 324 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Facebook\WebDriver\Remote;

class LocalFileDetector implements FileDetector
{
    /**
     * @param string $file
     *
     * @return null|string
     */
    public function getLocalFile($file)
    {
        if (is_file($file)) {
            return realpath($file);
        }

        return null;
    }
}