1: <?php
2:
3: use Xu\Foundation\Foundation;
4:
5: // @codingStandardsIgnoreStart
6: class xu {
7: // @codingStandardsIgnoreEnd
8:
9: /**
10: * Call xu functions as a static method.
11: *
12: * @param string $method
13: * @param array $args
14: *
15: * @return mixed
16: */
17: public static function __callStatic( $method, $args ) {
18: return Foundation::get_instance()->fn( $method, $args );
19: }
20: }
21: