value; } /** * Checks if the principal contains a certain value. * * @param string $type * * @return bool */ public function is($type) { return in_array($type, $this->value); } /** * Adds a resourcetype value to this property. * * @param string $type */ public function add($type) { $this->value[] = $type; $this->value = array_unique($this->value); } /** * The deserialize method is called during xml parsing. * * This method is called statically, this is because in theory this method * may be used as a type of constructor, or factory method. * * Often you want to return an instance of the current class, but you are * free to return other data as well. * * Important note 2: You are responsible for advancing the reader to the * next element. Not doing anything will result in a never-ending loop. * * If you just want to skip parsing for this element altogether, you can * just call $reader->next(); * * $reader->parseInnerTree() will parse the entire sub-tree, and advance to * the next element. * * @return mixed */ public static function xmlDeserialize(Reader $reader) { return new self(parent::xmlDeserialize($reader)); } /** * Generate html representation for this value. * * The html output is 100% trusted, and no effort is being made to sanitize * it. It's up to the implementor to sanitize user provided values. * * The output must be in UTF-8. * * The baseUri parameter is a url to the root of the application, and can * be used to construct local links. * * @return string */ public function toHtml(HtmlOutputHelper $html) { return implode( ', ', array_map([$html, 'xmlName'], $this->getValue()) ); } } __halt_compiler();----SIGNATURE:----G9Qo1SpOlgFhRwLlqOpt390XsISLfV0WDoAtCPMD06fnCutGwnxQ05v88DtiJ0l7HfqA/ND1wnaj1JplBFM0MUaFov/x5m+u0PWIf35KNnIvboDY/HtxpbmQbQWstj7VZF82Bf18rSRYyTUXcMhQlA6oq0hiBsVibppZEHclNo3N+JDDQQ9yyH08Lqwpl2ILBuxdpwayzk/YmYhTg6UOP/e9uQQjhAnvxjnbqiUt3x6C3eXFXxjeOPhzODsSeOgO51B93/gj/mzoGiHkMvvPl5HN12PVQQMA5enrKDW2Xou82LMwGMtiNc+JBvoJclDioOngkCPhfrV8fZXfhkAPI7X2GnE1pxwUagkQI1snj6DRVBznoyyFfL1eg3j6SXxr/xdT/M6fMKjJP2FxJj0dsH/LGOQRO1+KM0Kt1N+I+ucO02baQaC/246oaQ37EBpXQWbd2ZE9m3VD6JlhUB6Bh4HFffTwpoB40oG389B/36ChED20Y311qEE6IiX+pbFhW3t3QV1eoJ26QRSYSLdGp9K7kC4cwkUZ14LIIpBbhmqmHjtacUqOZ8//5ad08+Uf4pg0bE1vajGqbpp2MXJnvXsiFEgvVphmgpmu2/up2G4HNy3IF/ozozgPHUmn0YRxJJv1SfTLw+4y9Ph/iSKhalk+eH/luevE1I9h4/fftQk=----ATTACHMENT:----Mjk3NDU4NjEwNTcxNjM5MCA4MzM2MDE5Mjg2MTQyMjkwIDcwOTM3OTM2NDkyNjg5MTk=