public function exists() { if (null === $this->exists) { $this->exists = ClassExistsChecker::create($this->className)->existsExtendsSafe(); } return $this->exists; }