src/CommandAgents/OperationsAgent.php
public function crop($owner_name, $owner_id, $image_name, $crop_name, array $attrs)
    {
        $aRef = $this->makeOwnerRef($owner_name, $owner_id);
        $imageField = $this->makeImageField($owner_name, $image_name);

        $imageSetting = $this->imageSettingsSet->getImage($imageField);
        $cropSetting = $imageSetting->getCrops()->getCrop($crop_name);

        $this->crop->execute($aRef, $imageSetting, $cropSetting);
    }
public function crop($owner_name, $owner_id, $image_name, $crop_name, array $attrs)
    {
        $aRef = $this->makeOwnerRef($owner_name, $owner_id);
        $imageField = $this->makeImageField($owner_name, $image_name);

        $imageSetting = $this->imageSettingsSet->getImage($imageField);
        $cropSetting = $imageSetting->getCrops()->getCrop($crop_name);

        $this->crop->execute($aRef, $imageSetting, $cropSetting);
    }
@param string $owner_name
@param string $owner_id
@param string $image_name
@param string $crop_name
@param array $attrs

@return void