Redaxscript\Tests\TestCaseAbstract::getProvider PHP Метод

getProvider() публичный Метод

getProvider
С версии: 2.2.0
public getProvider ( string $url = null, boolean $assoc = true ) : array
$url string
$assoc boolean
Результат array
    public function getProvider($url = null, $assoc = true)
    {
        $content = file_get_contents($url);
        return json_decode($content, $assoc);
    }