My first commit of codes

This commit is contained in:
sujitprasad
2015-05-01 13:13:01 +05:30
parent 4c8e5096f1
commit a6e5a69348
8487 changed files with 1317246 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?php
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Class_ extends MagicConst
{
public function getName() {
return '__CLASS__';
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Dir extends MagicConst
{
public function getName() {
return '__DIR__';
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class File extends MagicConst
{
public function getName() {
return '__FILE__';
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Function_ extends MagicConst
{
public function getName() {
return '__FUNCTION__';
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Line extends MagicConst
{
public function getName() {
return '__LINE__';
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Method extends MagicConst
{
public function getName() {
return '__METHOD__';
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Namespace_ extends MagicConst
{
public function getName() {
return '__NAMESPACE__';
}
}

View File

@@ -0,0 +1,12 @@
<?php
namespace PhpParser\Node\Scalar\MagicConst;
use PhpParser\Node\Scalar\MagicConst;
class Trait_ extends MagicConst
{
public function getName() {
return '__TRAIT__';
}
}