src/Soluble/Schema/Source/AbstractSchemaSource.php
protected function validateSchema($schema)
    {
        if (!is_string($schema) || trim($schema) == '') {
            throw new Exception\InvalidArgumentException(__METHOD__ . ': Schema name must be a valid string or an empty string detected');
        }

        return $this;
    }
protected function validateSchema($schema)
    {
        if (!is_string($schema) || trim($schema) == '') {
            throw new Exception\InvalidArgumentException(__METHOD__ . ': Schema name must be a valid string or an empty string detected');
        }

        return $this;
    }
protected function validateSchema ( $ schema ) { if ( ! is_string ( $ schema ) || trim ( $ schema ) == '' ) { throw new Exception \ InvalidArgumentException ( __METHOD__ . ': Schema name must be a valid string or an empty string detected' ) ; } return $ this ; }
Check whether a schema parameter is valid.

@throws Exception\InvalidArgumentException

@param string $schema

@return self
Check whether a schema parameter is valid .