BitbarPlugins\Travel\AccessPointScanner::scan PHP Метод

scan() публичный статический Метод

use airport utility command with --scan option : Perform a wireless broadcast scan.
public static scan ( ) : string
Результат string raw command output
    public static function scan()
    {
        if (!self::airportProgramFound()) {
            throw new AccessPointScannerException("Airport utility command not found. Please check path.");
        }
        return shell_exec(AIRPORT_PATH . " -s");
    }
AccessPointScanner