<?php

class User {
	public static function __callStatic($name, $arguments) {
		echo 'call ', __CLASS__, '::', $name, PHP_EOL;
		return __CLASS__;
	}
}
USER::take('email')::where(['id' => 1]);

class User2 {
	public static function take($param) {
		echo 'call ', __METHOD__, PHP_EOL;
		return __CLASS__;
	}
	public static function where($param) {
		echo 'call ', __METHOD__, PHP_EOL;
		return __CLASS__;
	}
}
USER2::take('email')::where(['id' => 1]);