public function setManagedBy($dn)
    {
        if ($dn instanceof Model) {
            $dn = $dn->getDn();
        }

        return $this->setFirstAttribute($this->schema->managedBy(), $dn);
    }
public function setManagedBy($dn)
    {
        if ($dn instanceof Model) {
            $dn = $dn->getDn();
        }

        return $this->setFirstAttribute($this->schema->managedBy(), $dn);
    }
public function setManagedBy ( $ dn ) { if ( $ dn instanceof Model ) { $ dn = $ dn -> getDn ( ) ; } return $ this -> setFirstAttribute ( $ this -> schema -> managedBy ( ) , $ dn ) ; }
Sets the user who is assigned to managed this object.

@param Model|string $dn

@return $this
Sets the user who is assigned to managed this object .