Model/AbstractColumnDescriptor.php
public function validate() {
        if ($this->initializer) {
            Ensure::isFalse($this->initializer->getRepository() && $this->initializer->getValue(), 'It makes no sense to define initializer repository and value simultaneously for column [%s]', $this->name);
        }
    }
public function validate() {
        if ($this->initializer) {
            Ensure::isFalse($this->initializer->getRepository() && $this->initializer->getValue(), 'It makes no sense to define initializer repository and value simultaneously for column [%s]', $this->name);
        }
    }
public function validate ( ) { if ( $ this -> initializer ) { Ensure :: isFalse ( $ this -> initializer -> getRepository ( ) && $ this -> initializer -> getValue ( ) , 'It makes no sense to define initializer repository and value simultaneously for column [%s]' , $ this -> name ) ; } }
Throws an exception if the settings are inconsistent.
Throws an exception if the settings are inconsistent .