public function __construct($keyPEM) { Assert::stringNotEmpty($keyPEM, __CLASS__ . '::$keyPEM should not be an empty string. Got %s'); $this->keyPEM = $keyPEM; }