Skip to content

Commit

Permalink
Function: remove getters and setters for name
Browse files Browse the repository at this point in the history
  • Loading branch information
sstur committed Jan 3, 2015
1 parent 91fd27b commit 4140579
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions php/classes/Function.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function __construct() {
$prototype = new Object();
$prototype->setProperty('constructor', $this, true, false, true);
$this->setProperty('prototype', $prototype, true, false, true);
$this->setProperty('name', $this->name, false, false, false);
}

function construct() {
Expand Down Expand Up @@ -98,14 +99,6 @@ function apply($context, $args) {
return $result;
}

function get_name() {
return $this->name;
}

function set_name($value) {
return $value;
}

function get_arguments() {
$arguments = $this->arguments;
if ($arguments === null && $this->callStackPosition !== null) {
Expand Down

0 comments on commit 4140579

Please sign in to comment.