getTitle() public method

public getTitle ( )
 public function store(Task $task)
 {
     $tasks = $this->fetchTaskJson();
     $tasks[] = array('title' => $task->getTitle(), 'description' => $task->getDescription());
     file_put_contents($this->filePath, json_encode($tasks));
 }