/**
 * Get state profile by value name.
 *
 * @param   integer  $value  The value name we want to get.
 *
 * @return  array|null  Return state profile or NULL.
 *
 * @since   4.0.0
 */
public function getState(int $value) : ?array
{
    return $this->states[$value] ?? null;
}