src/Text.php
public function pad($length, $padding = ' ') {
		$len = $length - $this->length();
		return $this->applyPadding(floor($len / 2), ceil($len / 2), $padding);
	}
public function pad($length, $padding = ' ') {
		$len = $length - $this->length();
		return $this->applyPadding(floor($len / 2), ceil($len / 2), $padding);
	}
public function pad ( $ length , $ padding = ' ' ) { $ len = $ length - $ this -> length ( ) ; return $ this -> applyPadding ( floor ( $ len / 2 ) , ceil ( $ len / 2 ) , $ padding ) ; }
Adds padding to the start and end

@param int $length
@param string $padding
@return Text
Adds padding to the start and end