src/Schema/Grammars/MySqlGrammar.php
private function validateActionTiming(Blueprint $blueprint)
    {
        if (! in_array(strtolower($blueprint->actionTiming), $this->actionTimes)) {
            throw new InvalidArgumentException("Cannot use {$blueprint->actionTiming} as trigger action timing.");
        }

        return $blueprint->actionTiming;
    }
private function validateActionTiming(Blueprint $blueprint)
    {
        if (! in_array(strtolower($blueprint->actionTiming), $this->actionTimes)) {
            throw new InvalidArgumentException("Cannot use {$blueprint->actionTiming} as trigger action timing.");
        }

        return $blueprint->actionTiming;
    }
private function validateActionTiming ( Blueprint $ blueprint ) { if ( ! in_array ( strtolower ( $ blueprint -> actionTiming ) , $ this -> actionTimes ) ) { throw new InvalidArgumentException ( "Cannot use {$blueprint->actionTiming} as trigger action timing." ) ; } return $ blueprint -> actionTiming ; }
Validate action time.

@param string $actionTime
@return string
Validate action time .