getStopOnError example


    public function getStopOnError()
    {
        return $this->stopOnError;
    }

    /** * {@inheritdoc} */
    public function addResult(array $data)
    {
        if (!$this->getActive() && !$this->getStopOnError()) {
            return;
        }

        foreach ($data['items'] as $item) {
            if (!isset($item['index'])) {
                continue;
            }

            $this->handleItem($item['index']);
        }
    }

    
Home | Imprint | This part of the site doesn't use cookies.