public function __construct($target = NULL) { if (is_object($target)) { $this->resolve($target); } else { $this->class = self::qualify($target); } }