Collective\Annotations\Console\EventScanCommand::getEventDefinitions PHP 메소드

getEventDefinitions() 보호된 메소드

Get the route definitions for the annotations.
protected getEventDefinitions ( ) : string
리턴 string
    protected function getEventDefinitions()
    {
        $scanner = $this->laravel->make('annotations.event.scanner');
        $scanner->setClassesToScan($this->provider->eventScans());
        return '<?php ' . PHP_EOL . PHP_EOL . $scanner->getEventDefinitions() . PHP_EOL;
    }