Esempio n. 1
0
 /**
  * it should throw an exception when colon is used in property name
  * @author Patrick Gotthardt
  * @test
  * @expectedException InvalidArgumentException
  */
 public function it_should_throw_an_exception_when_colon_is_used_in_property_name()
 {
     pantr::property('test:bar', 'foo');
 }
Esempio n. 2
0
function property($key, $value = null)
{
    return pantr::property($key, $value);
}