public function __construct(\DvsUser $User, Framework $Framework) { $this->rules = array_diff(get_class_methods($this), array('__call', '__construct')); $this->User = $User; $this->Auth = $Framework->Auth; }