public function getField($fieldId)
    {
        $resolved = $this->getResolved();
        if (!$resolved instanceof ContentTypeInterface) {
            return null;
        }

        return $resolved->getField($fieldId);
    }
public function getField($fieldId)
    {
        $resolved = $this->getResolved();
        if (!$resolved instanceof ContentTypeInterface) {
            return null;
        }

        return $resolved->getField($fieldId);
    }
public function getField ( $ fieldId ) { $ resolved = $ this -> getResolved ( ) ; if ( ! $ resolved instanceof ContentTypeInterface ) { return null ; } return $ resolved -> getField ( $ fieldId ) ; }
Returns the content type field matching the passed ID, or null if field does not exist.

@param string $fieldId
@return ContentTypeFieldInterface|null
Returns the content type field matching the passed ID or null if field does not exist .