src/Models/Tile.php
/**
     * Validates the tile data object
     * @return A {@link ValidationResult} object
     */
Validates the tile data object
@return A  ValidationResult object
Validates the tile data object @return A ValidationResult object
public function validate()
    {
        $result = parent::validate();
        if ($this->Height > $this::$maxheight) {
            $result->addError("Height of $this::\$maxheight exceeded" . $this->Height . ' ' . $this::$maxheight);
        }
        if ($this->Width > $this::$maxwidth) {
            $result->addError("Width of $this::\$maxheight exceeded");
        }
        return $result;
    }
public function validate ( ) { $ result = parent :: validate ( ) ; if ( $ this -> Height > $ this :: $ maxheight ) { $ result -> addError ( " Height of  $ this :: \$ maxheight exceeded " . $ this -> Height . ' ' . $ this :: $ maxheight ) ; } if ( $ this -> Width > $ this :: $ maxwidth ) { $ result -> addError ( " Width of  $ this :: \$ maxheight exceeded " ) ; } return $ result ; }
Validates the tile data object
 @return A {@link ValidationResult} object
Validates the tile data object @return A { @link ValidationResult } object