public function allowCancel($order)
    {
        /** @var SalesDependencyClassInterface $dependency */
        foreach ($this->dependencyClasses as $dependency) {
            if (!$dependency->allowCancel($order)) {
                return false;
            }
        }

        return true;
    }
public function allowCancel($order)
    {
        /** @var SalesDependencyClassInterface $dependency */
        foreach ($this->dependencyClasses as $dependency) {
            if (!$dependency->allowCancel($order)) {
                return false;
            }
        }

        return true;
    }
public function allowCancel ( $ order ) { /** @var SalesDependencyClassInterface $dependency */ foreach ( $ this -> dependencyClasses as $ dependency ) { if ( ! $ dependency -> allowCancel ( $ order ) ) { return false ; } } return true ; }
Returns the identifying name.

@param Order $order

@return bool
Returns the identifying name .