/**
 * Method to filter transitions by given id of state.
 *
 * @param   integer[]  $transitions  Array of transitions to filter for
 * @param   integer    $pk           Id of the state on which the transitions are performed
 *
 * @return  array
 *
 * @since  4.0.0
 */
public function filterTransitions(array $transitions, int $pk) : array;