コード例 #1
0
ファイル: PropertyTest.php プロジェクト: pago/pantr
 /**
  * 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');
 }
コード例 #2
0
ファイル: utilities.php プロジェクト: pago/pantr
function property($key, $value = null)
{
    return pantr::property($key, $value);
}