App\Console\Commands\Webloyer\DiscardOldDeployments::__construct PHP 메소드

__construct() 공개 메소드

Create a new command instance.
public __construct ( App\Repositories\Project\ProjectInterface $projectRepository ) : void
$projectRepository App\Repositories\Project\ProjectInterface
리턴 void
    public function __construct(ProjectInterface $projectRepository)
    {
        parent::__construct();
        $this->projectRepository = $projectRepository;
        $this->spec = new OldDeploymentSpecification(new DateTime());
    }
DiscardOldDeployments