You are here

public function Developer::hasCompany in Apigee Edge 8

File

src/Entity/Developer.php, line 330

Class

Developer
Defines the Developer entity class.

Namespace

Drupal\apigee_edge\Entity

Code

public function hasCompany(string $company_name) : bool {
  return in_array($company_name, $this
    ->getCompanies(), TRUE);
}