src/Entity/XiboDisplayProfile.php
public function copy($displayProfileId, $name)
    {
        $this->name = $name;
        $this->displayProfileId = $displayProfileId;

        $this->getLogger()->info('Creating a Copy of Display Profile ' . $name);
        $response = $this->doPost('/displayprofile/' . $displayProfileId . '/copy', [
            'name' => $name
        ]);

        return $this->hydrate($response);
    }
public function copy($displayProfileId, $name)
    {
        $this->name = $name;
        $this->displayProfileId = $displayProfileId;

        $this->getLogger()->info('Creating a Copy of Display Profile ' . $name);
        $response = $this->doPost('/displayprofile/' . $displayProfileId . '/copy', [
            'name' => $name
        ]);

        return $this->hydrate($response);
    }
public function copy ( $ displayProfileId , $ name ) { $ this -> name = $ name ; $ this -> displayProfileId = $ displayProfileId ; $ this -> getLogger ( ) -> info ( 'Creating a Copy of Display Profile ' . $ name ) ; $ response = $ this -> doPost ( '/displayprofile/' . $ displayProfileId . '/copy' , [ 'name' => $ name ] ) ; return $ this -> hydrate ( $ response ) ; }
Copy Display Profile.

@param int $displayProfileId The Display Profile ID to copy
@param string $name Display Profile name
@return XiboDisplayProfile
Copy Display Profile .