MailContent::findAccepting PHP Méthode

findAccepting() public méthode

公開されたコンテンツを取得する
public findAccepting ( string $type = 'first', array $query = [] ) : array | null
$type string
$query array
Résultat array | null
    public function findAccepting($type = 'first', $query = [])
    {
        $getConditionAllowAccepting = $this->getConditionAllowAccepting();
        if (!empty($query['conditions'])) {
            $query['conditions'] = array_merge($getConditionAllowAccepting, $query['conditions']);
        } else {
            $query['conditions'] = $getConditionAllowAccepting;
        }
        return $this->find($type, $query);
    }