public function getCriteriaChange($owner, AchievementCriteria $criteria, Achievement $achievement, $data = null)
    {
        $handler = $this->handlers->getHandlerFor($criteria->type());

        if (!$handler instanceof CriteriaHandler) {
            return null;
        }

        return $handler->handle($owner, $criteria, $achievement, $data);
    }
public function getCriteriaChange($owner, AchievementCriteria $criteria, Achievement $achievement, $data = null)
    {
        $handler = $this->handlers->getHandlerFor($criteria->type());

        if (!$handler instanceof CriteriaHandler) {
            return null;
        }

        return $handler->handle($owner, $criteria, $achievement, $data);
    }
public function getCriteriaChange ( $ owner , AchievementCriteria $ criteria , Achievement $ achievement , $ data = null ) { $ handler = $ this -> handlers -> getHandlerFor ( $ criteria -> type ( ) ) ; if ( ! $ handler instanceof CriteriaHandler ) { return null ; } return $ handler -> handle ( $ owner , $ criteria , $ achievement , $ data ) ; }
Requests new progress value for given owner & criteria.

@param mixed               $owner
@param AchievementCriteria $criteria
@param Achievement         $achievement
@param mixed               $data        = null

@return AchievementCriteriaChange|null
Requests new progress value for given owner & criteria .