Exemple #1
0
 public function getUnlinkedEndpoints()
 {
     $currentEndpoints = array_map(function ($Endpoint) {
         return $Endpoint->ID;
     }, $this->Endpoints);
     return count($currentEndpoints) ? Endpoint::getAllByWhere('ID NOT IN (' . implode(',', $currentEndpoints) . ')') : Endpoint::getAll();
 }