setName() публичный Метод

Sets the name of the application.
См. также: getName()
public setName ( string $name ) : static
$name string The application name.
Результат static The current instance.
Пример #1
0
 public function testGetDisplayNameReturnsHumanizedNameByDefault()
 {
     $this->config->setName('the-name');
     $this->assertSame('The Name', $this->config->getDisplayName());
 }