private function setEye($eye)
    {
        if (!is_string($eye) || strlen($eye) !== 1) {
            throw new \InvalidArgumentException(
                'Eye must be a one character string'
            );
        }

        $this->eye = $eye;
    }
private function setEye($eye)
    {
        if (!is_string($eye) || strlen($eye) !== 1) {
            throw new \InvalidArgumentException(
                'Eye must be a one character string'
            );
        }

        $this->eye = $eye;
    }
private function setEye ( $ eye ) { if ( ! is_string ( $ eye ) || strlen ( $ eye ) !== 1 ) { throw new \ InvalidArgumentException ( 'Eye must be a one character string' ) ; } $ this -> eye = $ eye ; }
Sets the team eye.

@param string $eye The team eye.

@throws \InvalidArgumentException When an invalid team eye is provided.
Sets the team eye .