public function getChoices()
    {
        /** @var ApiChoice $constraint */
        if ($constraint = $this->docBlockUtility->getConstraint($this->property, ApiChoice::class)) {
            return $constraint->choices;
        }
    }
public function getChoices()
    {
        /** @var ApiChoice $constraint */
        if ($constraint = $this->docBlockUtility->getConstraint($this->property, ApiChoice::class)) {
            return $constraint->choices;
        }
    }
public function getChoices ( ) { /** @var ApiChoice $constraint */ if ( $ constraint = $ this -> docBlockUtility -> getConstraint ( $ this -> property , ApiChoice :: class ) ) { return $ constraint -> choices ; } }
Get the array of choices from the Choices assertion if it exists.

@return array|null
Get the array of choices from the Choices assertion if it exists .