public function add($type)
    {
        $this->value[] = $type;
        $this->value = array_unique($this->value);
    }
public function add($type)
    {
        $this->value[] = $type;
        $this->value = array_unique($this->value);
    }
public function add ( $ type ) { $ this -> value [ ] = $ type ; $ this -> value = array_unique ( $ this -> value ) ; }
Adds a resourcetype value to this property.

@param string $type
Adds a resourcetype value to this property .