package and depencies

This commit is contained in:
RafficMohammed
2023-01-08 02:57:24 +05:30
parent d5332eb421
commit 1d54b8bc7f
4309 changed files with 193331 additions and 172289 deletions

View File

@@ -25,10 +25,8 @@ interface OutputFormatterInterface
/**
* Whether the output will decorate messages.
*
* @return bool
*/
public function isDecorated();
public function isDecorated(): bool;
/**
* Sets a new style.
@@ -37,24 +35,18 @@ interface OutputFormatterInterface
/**
* Checks if output formatter has style with specified name.
*
* @return bool
*/
public function hasStyle(string $name);
public function hasStyle(string $name): bool;
/**
* Gets style options from style with specified name.
*
* @return OutputFormatterStyleInterface
*
* @throws \InvalidArgumentException When style isn't defined
*/
public function getStyle(string $name);
public function getStyle(string $name): OutputFormatterStyleInterface;
/**
* Formats a message according to the given styles.
*
* @return string|null
*/
public function format(?string $message);
public function format(?string $message): ?string;
}