Пример #1
0
 public function testIsNotEndpoint()
 {
     // arrange
     $env = 'api-test';
     // act
     $result = is_endpoint('frontend', $env);
     // assert
     $this->assertEquals(false, $result);
 }
Пример #2
0
 function is_frontend($env = false)
 {
     return is_endpoint('frontend', $env);
 }