private function getStub($className) { if (!$this->hasStub($className)) { return null; } return file_get_contents($this->buildStubName($className)); }