public function __construct($subject, $policies = null) { $this->subject = $subject; if ($policies !== null) { $this->policies = $policies; } }