src/Cronner/TimestampStorage/FileStorage.php
public function setTaskName(string $taskName = NULL)
	{
		if ($taskName !== NULL && Strings::length($taskName) <= 0) {
			throw new InvalidTaskNameException('Given task name is not valid.');
		}
		$this->taskName = $taskName;
	}
public function setTaskName(string $taskName = NULL)
	{
		if ($taskName !== NULL && Strings::length($taskName) <= 0) {
			throw new InvalidTaskNameException('Given task name is not valid.');
		}
		$this->taskName = $taskName;
	}
public function setTaskName ( string $ taskName = NULL ) { if ( $ taskName !== NULL && Strings :: length ( $ taskName ) <= 0 ) { throw new InvalidTaskNameException ( 'Given task name is not valid.' ) ; } $ this -> taskName = $ taskName ; }
Sets name of current task.

@param string|null $taskName
Sets name of current task .