1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- <?php
- abstract class ProjectComponent {
-
- protected $project = null;
-
- public function setProject($project) {
- $this->project = $project;
- }
-
- public function getProject() {
- return $this->project;
- }
-
- public function log($msg, $level = Project::MSG_INFO) {
- if ($this->project !== null) {
- $this->project->log($msg, $level);
- }
- }
- }
|