Skip to content

Commit

Permalink
Readme change
Browse files Browse the repository at this point in the history
  • Loading branch information
silverreve23 committed Feb 26, 2018
1 parent 14bc5a0 commit c6e41b8
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,33 @@
@php
@class Test
@var+ $testPublic = array();
@var- $testPrivate = 20;
@var. $testProtected = 'test';
@var(static). $testStatic = 'static';
@function+ test()
@foreach(@this.test as $key => $val)
echo $key.$val;
@end
@end
@function(static)- staticTest($test)
@if($test)
return true;
@end
@end
@end
```
Expand All @@ -56,33 +56,33 @@
<?php

class Test{

public $testPublic = array();
private $testPrivate = 20;
protected $testProtected = 'test';

protected static $testStatic = 'static';

public function test(){

foreach($this->test as $key => $val){

echo $key.$val;

}

}

private static function staticTest($test){

if($test){

return true;

}

}

}

```

0 comments on commit c6e41b8

Please sign in to comment.