src/Objects/Group.php
public function validateRequired()
    {
        parent::validateRequired();

        if (!is_array($this->getAttribute('container'))) {
            $message = 'Container attribute must be an array.';

            throw new AdldapException($message);
        }

        return true;
    }
public function validateRequired()
    {
        parent::validateRequired();

        if (!is_array($this->getAttribute('container'))) {
            $message = 'Container attribute must be an array.';

            throw new AdldapException($message);
        }

        return true;
    }
public function validateRequired ( ) { parent :: validateRequired ( ) ; if ( ! is_array ( $ this -> getAttribute ( 'container' ) ) ) { $ message = 'Container attribute must be an array.' ; throw new AdldapException ( $ message ) ; } return true ; }
Validate the required attributes.

@return bool

@throws AdldapException
Validate the required attributes .