Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
0 contributors

Users who have contributed to this file

57 lines (50 sloc) 1.76 KB
<?php
/**
* COmanage Match Query Modification Trait
*
* Portions licensed to the University Corporation for Advanced Internet
* Development, Inc. ("UCAID") under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* UCAID licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @link https://www.internet2.edu/comanage COmanage Project
* @package match
* @since COmanage Match v1.0.0
* @license Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
*/
declare(strict_types = 1);
namespace App\Lib\Traits;
trait QueryModificationTrait {
// Containable models for index actions
private $indexContains = null;
/**
* Containable models for index actions.
*
* @since COmanage Match v1.0.0
* @param boolean $allowEmpty true if the primary link is permitted to be empty
*/
public function getIndexContains() {
return $this->indexContains;
}
/**
* Set containable models for index actions.
*
* @since COmanage Match v1.0.0
* @param array $contains Containable models
*/
public function setIndexContains(array $contains) {
$this->indexContains = $contains;
}
}