new pisilinux web sites
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user