src/SellerLabs/Nucleus/Meditation/TypedSpec.php
protected function getInternalFieldConstraints($fieldName)
    {
        return parent::getInternalFieldConstraints($fieldName)
            ->append(ArrayList::of([$this->getFieldType($fieldName)]));
    }
protected function getInternalFieldConstraints($fieldName)
    {
        return parent::getInternalFieldConstraints($fieldName)
            ->append(ArrayList::of([$this->getFieldType($fieldName)]));
    }
protected function getInternalFieldConstraints ( $ fieldName ) { return parent :: getInternalFieldConstraints ( $ fieldName ) -> append ( ArrayList :: of ( [ $ this -> getFieldType ( $ fieldName ) ] ) ) ; }
Get all the constraints for a field.

@param string $fieldName

@return IterableType
Get all the constraints for a field .