Files
web-site/Internal/package-request/Get.php
T
2026-07-01 16:44:17 +03:00

32 lines
618 B
PHP

<?php namespace ZN\Request;
/**
* ZN PHP Web Framework
*
* "Simplicity is the ultimate sophistication." ~ Da Vinci
*
* @package ZN
* @license MIT [http://opensource.org/licenses/MIT]
* @author Ozan UYKUN [ozan@znframework.com]
*/
class Get
{
/**
* Magic Call Static
*
* @param string $method
* @param array $parameters
*
* @return mixed
*/
public static function __callStatic($method, $parameters)
{
if( $method === 'all' )
{
return Method::get();
}
return Method::get($method, $parameters[0] ?? NULL);
}
}