Rubenwouters\CrmLauncher\Controllers\PublishController::__construct PHP Метод

__construct() публичный Метод

public __construct ( Reaction $reaction, Publishment $publishment, FetchTwitterContent $twitterContent, FetchFacebookContent $facebookContent )
$reaction Rubenwouters\CrmLauncher\Models\Reaction
$publishment Rubenwouters\CrmLauncher\Models\Publishment
$twitterContent Rubenwouters\CrmLauncher\ApiCalls\FetchTwitterContent
$facebookContent Rubenwouters\CrmLauncher\ApiCalls\FetchFacebookContent
    public function __construct(Reaction $reaction, Publishment $publishment, FetchTwitterContent $twitterContent, FetchFacebookContent $facebookContent)
    {
        $this->publishment = $publishment;
        $this->reaction = $reaction;
        $this->twitterContent = $twitterContent;
        $this->facebookContent = $facebookContent;
    }