ok = false; return $result; } static function newGood( $repo = false, $value = null ) { $result = new self( $repo ); $result->value = $value; return $result; } function __construct( $repo = false ) { if ( $repo ) { $this->cleanCallback = $repo->getErrorCleanupFunction(); } } }