public function generate($source = null)
    {
        // set input
        $this->getParser()->setInput(
            ['className' => $source]
        );

        // Add these dependencies to collection
        $this->addRawDependenciesToCollection($this->getParser()->parse(), $source);
    }