public function run() { $breeds = [["breed_cz" => "Affenpinscher", "breed_en" => "Affenpinscher"], ["breed_cz" => "Affenpoo", "breed_en" => "Affenpoo"], ["breed_cz" => "Afghan Hound", "breed_en" => "Afghan Hound"], ["breed_cz" => "Afghan Retriever", "breed_en" => "Afghan Retriever"], ["breed_cz" => "Airedale Terrier", "breed_en" => "Airedale Terrier"], ["breed_cz" => "Akita", "breed_en" => "Akita"], ["breed_cz" => "Alaskan Klee Kai", "breed_en" => "Alaskan Klee Kai"], ["breed_cz" => "Alaskan Malamute", "breed_en" => "Alaskan Malamute"], ["breed_cz" => "Alaskan Noble Companion Dog", "breed_en" => "Alaskan Noble Companion Dog"], ["breed_cz" => "American Bulldog", "breed_en" => "American Bulldog"], ["breed_cz" => "American English Coonhound", "breed_en" => "American English Coonhound"], ["breed_cz" => "American Eskimo Dog", "breed_en" => "American Eskimo Dog"], ["breed_cz" => "American Foxhound", "breed_en" => "American Foxhound"], ["breed_cz" => "American Labrador Retriever", "breed_en" => "American Labrador Retriever"], ["breed_cz" => "American Mastiff", "breed_en" => "American Mastiff"], ["breed_cz" => "American Pit Bull Terrier", "breed_en" => "American Pit Bull Terrier"], ["breed_cz" => "American Staffordshire Terrier", "breed_en" => "American Staffordshire Terrier"], ["breed_cz" => "American Water Spaniel", "breed_en" => "American Water Spaniel"], ["breed_cz" => "Anatolian Shepherd", "breed_en" => "Anatolian Shepherd"], ["breed_cz" => "Aussiedoodle", "breed_en" => "Aussiedoodle"], ["breed_cz" => "Australian Cattle Dog", "breed_en" => "Australian Cattle Dog"], ["breed_cz" => "Australian Kelpie", "breed_en" => "Australian Kelpie"], ["breed_cz" => "Australian Shepherd", "breed_en" => "Australian Shepherd"], ["breed_cz" => "Australian Terrier", "breed_en" => "Australian Terrier"], ["breed_cz" => "Azawakh", "breed_en" => "Azawakh"], ["breed_cz" => "Bagle Hound", "breed_en" => "Bagle Hound"], ["breed_cz" => "Basenji", "breed_en" => "Basenji"], ["breed_cz" => "Bassador", "breed_en" => "Bassador"], ["breed_cz" => "Basset Hound", "breed_en" => "Basset Hound"], ["breed_cz" => "Bassetoodle", "breed_en" => "Bassetoodle"], ["breed_cz" => "Beagle", "breed_en" => "Beagle"], ["breed_cz" => "Bearded Collie", "breed_en" => "Bearded Collie"], ["breed_cz" => "Beauceron", "breed_en" => "Beauceron"], ["breed_cz" => "Bedlington Terrier", "breed_en" => "Bedlington Terrier"], ["breed_cz" => "Belgian Malinois", "breed_en" => "Belgian Malinois"], ["breed_cz" => "Belgian Sheepdog", "breed_en" => "Belgian Sheepdog"], ["breed_cz" => "Belgian Shepherd Malinois", "breed_en" => "Belgian Shepherd Malinois"], ["breed_cz" => "Belgian Tervuren", "breed_en" => "Belgian Tervuren"], ["breed_cz" => "Bergamasco", "breed_en" => "Bergamasco"], ["breed_cz" => "Berger Picard", "breed_en" => "Berger Picard"], ["breed_cz" => "Bernedoodle", "breed_en" => "Bernedoodle"], ["breed_cz" => "Bernese Mountain Dog", "breed_en" => "Bernese Mountain Dog"], ["breed_cz" => "Bichon Frise", "breed_en" => "Bichon Frise"], ["breed_cz" => "Bichon Yorkie", "breed_en" => "Bichon Yorkie"], ["breed_cz" => "Bichpoo", "breed_en" => "Bichpoo"], ["breed_cz" => "Black and Tan Coonhound", "breed_en" => "Black and Tan Coonhound"], ["breed_cz" => "Black Russian Terrier", "breed_en" => "Black Russian Terrier"], ["breed_cz" => "Blackmouth Cur", "breed_en" => "Blackmouth Cur"], ["breed_cz" => "Bloodhound", "breed_en" => "Bloodhound"], ["breed_cz" => "Bluetick Coonhound", "breed_en" => "Bluetick Coonhound"], ["breed_cz" => "Bo Chi", "breed_en" => "Bo Chi"], ["breed_cz" => "Boerboel", "breed_en" => "Boerboel"], ["breed_cz" => "Bolognese", "breed_en" => "Bolognese"], ["breed_cz" => "Boodle", "breed_en" => "Boodle"], ["breed_cz" => "Border Collie", "breed_en" => "Border Collie"], ["breed_cz" => "Border Terrier", "breed_en" => "Border Terrier"], ["breed_cz" => "Borkie", "breed_en" => "Borkie"], ["breed_cz" => "Borzoi", "breed_en" => "Borzoi"], ["breed_cz" => "Boston Terrier", "breed_en" => "Boston Terrier"], ["breed_cz" => "Bouvier des Flandres", "breed_en" => "Bouvier des Flandres"], ["breed_cz" => "Boxador", "breed_en" => "Boxador"], ["breed_cz" => "Boxer", "breed_en" => "Boxer"], ["breed_cz" => "Boxerdoodle", "breed_en" => "Boxerdoodle"], ["breed_cz" => "Boxerman", "breed_en" => "Boxerman"], ["breed_cz" => "Boykin Spaniel", "breed_en" => "Boykin Spaniel"], ["breed_cz" => "Bracco Italiano", "breed_en" => "Bracco Italiano"], ["breed_cz" => "bRat (Boston and Rat Terrier)", "breed_en" => "bRat (Boston and Rat Terrier)"], ["breed_cz" => "Brazilian Mastiff", "breed_en" => "Brazilian Mastiff"], ["breed_cz" => "Briard", "breed_en" => "Briard"], ["breed_cz" => "Brittany", "breed_en" => "Brittany"], ["breed_cz" => "Brussels Griffon", "breed_en" => "Brussels Griffon"], ["breed_cz" => "Bugg", "breed_en" => "Bugg"], ["breed_cz" => "Bull Terrier", "breed_en" => "Bull Terrier"], ["breed_cz" => "Bullboxer", "breed_en" => "Bullboxer"], ["breed_cz" => "Bulldog", "breed_en" => "Bulldog"], ["breed_cz" => "Bullmastiff", "breed_en" => "Bullmastiff"], ["breed_cz" => "Cadoodle", "breed_en" => "Cadoodle"], ["breed_cz" => "Cairn Terrier", "breed_en" => "Cairn Terrier"], ["breed_cz" => "Canaan Dog", "breed_en" => "Canaan Dog"], ["breed_cz" => "Cane Corso", "breed_en" => "Cane Corso"], ["breed_cz" => "Cardigan Welsh Corgi", "breed_en" => "Cardigan Welsh Corgi"], ["breed_cz" => "Carolina Dog", "breed_en" => "Carolina Dog"], ["breed_cz" => "Catahoula Leopard Dog", "breed_en" => "Catahoula Leopard Dog"], ["breed_cz" => "Caucasian Ovcharka", "breed_en" => "Caucasian Ovcharka"], ["breed_cz" => "Cavachon", "breed_en" => "Cavachon"], ["breed_cz" => "Cavalier King Charles Spaniel", "breed_en" => "Cavalier King Charles Spaniel"], ["breed_cz" => "Cavanese", "breed_en" => "Cavanese"], ["breed_cz" => "Cavapoo", "breed_en" => "Cavapoo"], ["breed_cz" => "Cesky Terrier", "breed_en" => "Cesky Terrier"], ["breed_cz" => "Chabrador", "breed_en" => "Chabrador"], ["breed_cz" => "Chesapeake Bay Retriever", "breed_en" => "Chesapeake Bay Retriever"], ["breed_cz" => "Chihuahua", "breed_en" => "Chihuahua"], ["breed_cz" => "Chinese Crested", "breed_en" => "Chinese Crested"], ["breed_cz" => "Chinese Shar-Pei", "breed_en" => "Chinese Shar-Pei"], ["breed_cz" => "Chion", "breed_en" => "Chion"], ["breed_cz" => "Chipoo", "breed_en" => "Chipoo"], ["breed_cz" => "Chiweenie", "breed_en" => "Chiweenie"], ["breed_cz" => "Chorkie", "breed_en" => "Chorkie"], ["breed_cz" => "Chow Chow", "breed_en" => "Chow Chow"], ["breed_cz" => "Chow Hound", "breed_en" => "Chow Hound"], ["breed_cz" => "Chug", "breed_en" => "Chug"], ["breed_cz" => "Clumber Spaniel", "breed_en" => "Clumber Spaniel"], ["breed_cz" => "Cockalier", "breed_en" => "Cockalier"], ["breed_cz" => "Cockapoo", "breed_en" => "Cockapoo"], ["breed_cz" => "Cocker Spaniel", "breed_en" => "Cocker Spaniel"], ["breed_cz" => "Cocker Westie", "breed_en" => "Cocker Westie"], ["breed_cz" => "Collie", "breed_en" => "Collie"], ["breed_cz" => "Corgiador", "breed_en" => "Corgiador"], ["breed_cz" => "Coton de Tuléar", "breed_en" => "Coton de Tuléar"], ["breed_cz" => "Curly-Coated Retriever", "breed_en" => "Curly-Coated Retriever"], ["breed_cz" => "Czechoslovakian Wolfdog", "breed_en" => "Czechoslovakian Wolfdog"], ["breed_cz" => "Dachshund", "breed_en" => "Dachshund"], ["breed_cz" => "Dalmatian", "breed_en" => "Dalmatian"], ["breed_cz" => "Dandie Dinmont Terrier", "breed_en" => "Dandie Dinmont Terrier"], ["breed_cz" => "Doberman Pinscher", "breed_en" => "Doberman Pinscher"], ["breed_cz" => "Dogo Argentino", "breed_en" => "Dogo Argentino"], ["breed_cz" => "Dogue de Bordeaux", "breed_en" => "Dogue de Bordeaux"], ["breed_cz" => "Dorkie", "breed_en" => "Dorkie"], ["breed_cz" => "Doxiepoo", "breed_en" => "Doxiepoo"], ["breed_cz" => "Doxle", "breed_en" => "Doxle"], ["breed_cz" => "Dutch Shepherd", "breed_en" => "Dutch Shepherd"], ["breed_cz" => "English Bull Boxer", "breed_en" => "English Bull Boxer"], ["breed_cz" => "English Cocker Spaniel", "breed_en" => "English Cocker Spaniel"], ["breed_cz" => "English Foxhound", "breed_en" => "English Foxhound"], ["breed_cz" => "English Labrador Retriever", "breed_en" => "English Labrador Retriever"], ["breed_cz" => "English Setter", "breed_en" => "English Setter"], ["breed_cz" => "English Shepherd", "breed_en" => "English Shepherd"], ["breed_cz" => "English Springer Spaniel", "breed_en" => "English Springer Spaniel"], ["breed_cz" => "English Toy Spaniel", "breed_en" => "English Toy Spaniel"], ["breed_cz" => "Entlebucher Mountain Dog", "breed_en" => "Entlebucher Mountain Dog"], ["breed_cz" => "Eskipoo", "breed_en" => "Eskipoo"], ["breed_cz" => "Eurasier", "breed_en" => "Eurasier"], ["breed_cz" => "Faux Frenchbo Bulldog", "breed_en" => "Faux Frenchbo Bulldog"], ["breed_cz" => "Field Spaniel", "breed_en" => "Field Spaniel"], ["breed_cz" => "Finnish Lapphund", "breed_en" => "Finnish Lapphund"], ["breed_cz" => "Finnish Spitz", "breed_en" => "Finnish Spitz"], ["breed_cz" => "Flat-Coated Retriever", "breed_en" => "Flat-Coated Retriever"], ["breed_cz" => "Formosan Mountain Dog", "breed_en" => "Formosan Mountain Dog"], ["breed_cz" => "French Bulldog", "breed_en" => "French Bulldog"], ["breed_cz" => "French Chihuahua", "breed_en" => "French Chihuahua"], ["breed_cz" => "German Pinscher", "breed_en" => "German Pinscher"], ["breed_cz" => "German Shepherd", "breed_en" => "German Shepherd"], ["breed_cz" => "German Shorthaired Pointer", "breed_en" => "German Shorthaired Pointer"], ["breed_cz" => "German Spitz", "breed_en" => "German Spitz"], ["breed_cz" => "German Wirehaired Pointer", "breed_en" => "German Wirehaired Pointer"], ["breed_cz" => "Giant Schnauzer", "breed_en" => "Giant Schnauzer"], ["breed_cz" => "Glen of Imaal Terrier", "breed_en" => "Glen of Imaal Terrier"], ["breed_cz" => "Goldador", "breed_en" => "Goldador"], ["breed_cz" => "Golden Retriever", "breed_en" => "Golden Retriever"], ["breed_cz" => "Goldendoodle", "breed_en" => "Goldendoodle"], ["breed_cz" => "Gordon Setter", "breed_en" => "Gordon Setter"], ["breed_cz" => "Grand Basset Griffon Vendéen", "breed_en" => "Grand Basset Griffon Vendéen"], ["breed_cz" => "Great Dane", "breed_en" => "Great Dane"], ["breed_cz" => "Great Pyrenees", "breed_en" => "Great Pyrenees"], ["breed_cz" => "Greater Swiss Mountain Dog", "breed_en" => "Greater Swiss Mountain Dog"], ["breed_cz" => "Greybull", "breed_en" => "Greybull"], ["breed_cz" => "Greyhound", "breed_en" => "Greyhound"], ["breed_cz" => "Harrier", "breed_en" => "Harrier"], ["breed_cz" => "Havachon", "breed_en" => "Havachon"], ["breed_cz" => "Havanese", "breed_en" => "Havanese"], ["breed_cz" => "Havatese", "breed_en" => "Havatese"], ["breed_cz" => "Hokkaido Ken", "breed_en" => "Hokkaido Ken"], ["breed_cz" => "Ibizan Hound", "breed_en" => "Ibizan Hound"], ["breed_cz" => "Icelandic Sheepdog", "breed_en" => "Icelandic Sheepdog"], ["breed_cz" => "Insane Chicken Dog", "breed_en" => "Insane Chicken Dog"], ["breed_cz" => "Irish Red and White Setter", "breed_en" => "Irish Red and White Setter"], ["breed_cz" => "Irish Setter", "breed_en" => "Irish Setter"], ["breed_cz" => "Irish Terrier", "breed_en" => "Irish Terrier"], ["breed_cz" => "Irish Water Spaniel", "breed_en" => "Irish Water Spaniel"], ["breed_cz" => "Irish Wolfhound", "breed_en" => "Irish Wolfhound"], ["breed_cz" => "Italian Greyhound", "breed_en" => "Italian Greyhound"], ["breed_cz" => "Jack Chi", "breed_en" => "Jack Chi"], ["breed_cz" => "Jack Russell Terrier", "breed_en" => "Jack Russell Terrier"], ["breed_cz" => "Jack-A-Bee", "breed_en" => "Jack-A-Bee"], ["breed_cz" => "Jackapoo", "breed_en" => "Jackapoo"], ["breed_cz" => "JackWeenie", "breed_en" => "JackWeenie"], ["breed_cz" => "Japanese Akita", "breed_en" => "Japanese Akita"], ["breed_cz" => "Japanese Chin", "breed_en" => "Japanese Chin"], ["breed_cz" => "Japanese Spitz", "breed_en" => "Japanese Spitz"], ["breed_cz" => "Jug", "breed_en" => "Jug"], ["breed_cz" => "Kai Ken", "breed_en" => "Kai Ken"], ["breed_cz" => "Keeshond", "breed_en" => "Keeshond"], ["breed_cz" => "Kerry Blue Terrier", "breed_en" => "Kerry Blue Terrier"], ["breed_cz" => "Kishu Ken", "breed_en" => "Kishu Ken"], ["breed_cz" => "Komondor", "breed_en" => "Komondor"], ["breed_cz" => "Korean Jindo", "breed_en" => "Korean Jindo"], ["breed_cz" => "Kuvasz", "breed_en" => "Kuvasz"], ["breed_cz" => "La-Chon", "breed_en" => "La-Chon"], ["breed_cz" => "Labradoodle", "breed_en" => "Labradoodle"], ["breed_cz" => "Labrador Retriever", "breed_en" => "Labrador Retriever"], ["breed_cz" => "Lakeland Terrier", "breed_en" => "Lakeland Terrier"], ["breed_cz" => "Leonberger", "breed_en" => "Leonberger"], ["breed_cz" => "Lhasa Apso", "breed_en" => "Lhasa Apso"], ["breed_cz" => "Lhasapoo", "breed_en" => "Lhasapoo"], ["breed_cz" => "Lowchen", "breed_en" => "Lowchen"], ["breed_cz" => "Maltese", "breed_en" => "Maltese"], ["breed_cz" => "Maltichon", "breed_en" => "Maltichon"], ["breed_cz" => "Maltipoo", "breed_en" => "Maltipoo"], ["breed_cz" => "Maltzu", "breed_en" => "Maltzu"], ["breed_cz" => "Manchester Terrier", "breed_en" => "Manchester Terrier"], ["breed_cz" => "Maremma Sheepdog", "breed_en" => "Maremma Sheepdog"], ["breed_cz" => "Mastiff", "breed_en" => "Mastiff"], ["breed_cz" => "Mini Bernedoodle", "breed_en" => "Mini Bernedoodle"], ["breed_cz" => "Miniature Australian Shepherd", "breed_en" => "Miniature Australian Shepherd"], ["breed_cz" => "Miniature Bull Terrier", "breed_en" => "Miniature Bull Terrier"], ["breed_cz" => "Miniature Dachshund", "breed_en" => "Miniature Dachshund"], ["breed_cz" => "Miniature Pinscher", "breed_en" => "Miniature Pinscher"], ["breed_cz" => "Miniature Poodle", "breed_en" => "Miniature Poodle"], ["breed_cz" => "Miniature Schnauzer", "breed_en" => "Miniature Schnauzer"], ["breed_cz" => "Morkie", "breed_en" => "Morkie"], ["breed_cz" => "Muggin", "breed_en" => "Muggin"], ["breed_cz" => "Neapolitan Mastiff", "breed_en" => "Neapolitan Mastiff"], ["breed_cz" => "Newfoundland", "breed_en" => "Newfoundland"], ["breed_cz" => "Norfolk Terrier", "breed_en" => "Norfolk Terrier"], ["breed_cz" => "Northern Inuit", "breed_en" => "Northern Inuit"], ["breed_cz" => "Norwegian Buhund", "breed_en" => "Norwegian Buhund"], ["breed_cz" => "Norwegian Elkhound", "breed_en" => "Norwegian Elkhound"], ["breed_cz" => "Norwegian Lundehund", "breed_en" => "Norwegian Lundehund"], ["breed_cz" => "Norwich Terrier", "breed_en" => "Norwich Terrier"], ["breed_cz" => "Nova Scotia Duck Tolling Retriever", "breed_en" => "Nova Scotia Duck Tolling Retriever"], ["breed_cz" => "Old English Sheepdog", "breed_en" => "Old English Sheepdog"], ["breed_cz" => "Olde English Bulldogge", "breed_en" => "Olde English Bulldogge"], ["breed_cz" => "Ori Pei", "breed_en" => "Ori Pei"], ["breed_cz" => "Otterhound", "breed_en" => "Otterhound"], ["breed_cz" => "Papichon", "breed_en" => "Papichon"], ["breed_cz" => "Papillon", "breed_en" => "Papillon"], ["breed_cz" => "Parson Russell Terrier", "breed_en" => "Parson Russell Terrier"], ["breed_cz" => "Patterdale Terrier", "breed_en" => "Patterdale Terrier"], ["breed_cz" => "Peek-a-Pom", "breed_en" => "Peek-a-Pom"], ["breed_cz" => "Peekapoo", "breed_en" => "Peekapoo"], ["breed_cz" => "Pekingese", "breed_en" => "Pekingese"], ["breed_cz" => "Pembroke Welsh Corgi", "breed_en" => "Pembroke Welsh Corgi"], ["breed_cz" => "Petit Basset Griffon Vendeen", "breed_en" => "Petit Basset Griffon Vendeen"], ["breed_cz" => "Pharaoh Hound", "breed_en" => "Pharaoh Hound"], ["breed_cz" => "Pit Bull", "breed_en" => "Pit Bull"], ["breed_cz" => "Plott", "breed_en" => "Plott"], ["breed_cz" => "Pointer", "breed_en" => "Pointer"], ["breed_cz" => "Polish Lowland Sheepdog", "breed_en" => "Polish Lowland Sheepdog"], ["breed_cz" => "Pom Chi", "breed_en" => "Pom Chi"], ["breed_cz" => "Pomapoo", "breed_en" => "Pomapoo"], ["breed_cz" => "Pomeranian", "breed_en" => "Pomeranian"], ["breed_cz" => "Pomino", "breed_en" => "Pomino"], ["breed_cz" => "Poodle", "breed_en" => "Poodle"], ["breed_cz" => "Poogle", "breed_en" => "Poogle"], ["breed_cz" => "Portuguese Podengo Pequeno", "breed_en" => "Portuguese Podengo Pequeno"], ["breed_cz" => "Portuguese Water Dog", "breed_en" => "Portuguese Water Dog"], ["breed_cz" => "Prague Ratter", "breed_en" => "Prague Ratter"], ["breed_cz" => "Presa Canario", "breed_en" => "Presa Canario"], ["breed_cz" => "Pug", "breed_en" => "Pug"], ["breed_cz" => "Pugapoo", "breed_en" => "Pugapoo"], ["breed_cz" => "Puggle", "breed_en" => "Puggle"], ["breed_cz" => "Pugshire", "breed_en" => "Pugshire"], ["breed_cz" => "Puli", "breed_en" => "Puli"], ["breed_cz" => "Pumi", "breed_en" => "Pumi"], ["breed_cz" => "Pyrenean Shepherd", "breed_en" => "Pyrenean Shepherd"], ["breed_cz" => "Rat Terrier", "breed_en" => "Rat Terrier"], ["breed_cz" => "Ratonero Bodeguero Andaluz", "breed_en" => "Ratonero Bodeguero Andaluz"], ["breed_cz" => "Redbone Coonhound", "breed_en" => "Redbone Coonhound"], ["breed_cz" => "Rhodesian Ridgeback", "breed_en" => "Rhodesian Ridgeback"], ["breed_cz" => "Rottweiler", "breed_en" => "Rottweiler"], ["breed_cz" => "Russell Terrier", "breed_en" => "Russell Terrier"], ["breed_cz" => "Saint Berdoodle", "breed_en" => "Saint Berdoodle"], ["breed_cz" => "Saluki", "breed_en" => "Saluki"], ["breed_cz" => "Samoyed", "breed_en" => "Samoyed"], ["breed_cz" => "Samusky", "breed_en" => "Samusky"], ["breed_cz" => "Schipperke", "breed_en" => "Schipperke"], ["breed_cz" => "Schipperpoo", "breed_en" => "Schipperpoo"], ["breed_cz" => "Schnoodle", "breed_en" => "Schnoodle"], ["breed_cz" => "Schweenie", "breed_en" => "Schweenie"], ["breed_cz" => "Scotchie", "breed_en" => "Scotchie"], ["breed_cz" => "Scottish Deerhound", "breed_en" => "Scottish Deerhound"], ["breed_cz" => "Scottish Terrier", "breed_en" => "Scottish Terrier"], ["breed_cz" => "Sealyham Terrier", "breed_en" => "Sealyham Terrier"], ["breed_cz" => "Shar-Poo", "breed_en" => "Shar-Poo"], ["breed_cz" => "Sheltiedoodle", "breed_en" => "Sheltiedoodle"], ["breed_cz" => "Shetland Sheepdog", "breed_en" => "Shetland Sheepdog"], ["breed_cz" => "Shiba Inu", "breed_en" => "Shiba Inu"], ["breed_cz" => "Shichon", "breed_en" => "Shichon"], ["breed_cz" => "Shih Tzu", "breed_en" => "Shih Tzu"], ["breed_cz" => "Shih-poo", "breed_en" => "Shih-poo"], ["breed_cz" => "Shikoku Ken", "breed_en" => "Shikoku Ken"], ["breed_cz" => "Shiloh Shepherd", "breed_en" => "Shiloh Shepherd"], ["breed_cz" => "Shinese", "breed_en" => "Shinese"], ["breed_cz" => "Shiranian", "breed_en" => "Shiranian"], ["breed_cz" => "Shorkie Tzu", "breed_en" => "Shorkie Tzu"], ["breed_cz" => "Siberian Husky", "breed_en" => "Siberian Husky"], ["breed_cz" => "Siberian Retriever", "breed_en" => "Siberian Retriever"], ["breed_cz" => "Silkshire Terrier", "breed_en" => "Silkshire Terrier"], ["breed_cz" => "Silky Terrier", "breed_en" => "Silky Terrier"], ["breed_cz" => "Skye Terrier", "breed_en" => "Skye Terrier"], ["breed_cz" => "Sloughi", "breed_en" => "Sloughi"], ["breed_cz" => "Smooth Collie", "breed_en" => "Smooth Collie"], ["breed_cz" => "Smooth Fox Terrier", "breed_en" => "Smooth Fox Terrier"], ["breed_cz" => "Snorkie", "breed_en" => "Snorkie"], ["breed_cz" => "Soft Coated Wheaten Terrier", "breed_en" => "Soft Coated Wheaten Terrier"], ["breed_cz" => "Spinone Italiano", "breed_en" => "Spinone Italiano"], ["breed_cz" => "St. Bernard", "breed_en" => "St. Bernard"], ["breed_cz" => "Staffordshire Bull Boxer", "breed_en" => "Staffordshire Bull Boxer"], ["breed_cz" => "Staffordshire Bull Terrier", "breed_en" => "Staffordshire Bull Terrier"], ["breed_cz" => "Standard Poodle", "breed_en" => "Standard Poodle"], ["breed_cz" => "Standard Schnauzer", "breed_en" => "Standard Schnauzer"], ["breed_cz" => "Sussex Spaniel", "breed_en" => "Sussex Spaniel"], ["breed_cz" => "Swedish Vallhund", "breed_en" => "Swedish Vallhund"], ["breed_cz" => "Tamaskan", "breed_en" => "Tamaskan"], ["breed_cz" => "Tibalier", "breed_en" => "Tibalier"], ["breed_cz" => "Tibetan Mastiff", "breed_en" => "Tibetan Mastiff"], ["breed_cz" => "Tibetan Spaniel", "breed_en" => "Tibetan Spaniel"], ["breed_cz" => "Tibetan Terrier", "breed_en" => "Tibetan Terrier"], ["breed_cz" => "Toy Fox Terrier", "breed_en" => "Toy Fox Terrier"], ["breed_cz" => "Toy Poodle", "breed_en" => "Toy Poodle"], ["breed_cz" => "Treeing Walker Coonhound", "breed_en" => "Treeing Walker Coonhound"], ["breed_cz" => "Valley Bulldog", "breed_en" => "Valley Bulldog"], ["breed_cz" => "Vizsla", "breed_en" => "Vizsla"], ["breed_cz" => "Weimaraner", "breed_en" => "Weimaraner"], ["breed_cz" => "Welsh Springer Spaniel", "breed_en" => "Welsh Springer Spaniel"], ["breed_cz" => "Welsh Terrier", "breed_en" => "Welsh Terrier"], ["breed_cz" => "West Highland White Terrier", "breed_en" => "West Highland White Terrier"], ["breed_cz" => "Westiepoo", "breed_en" => "Westiepoo"], ["breed_cz" => "Westion", "breed_en" => "Westion"], ["breed_cz" => "Whippet", "breed_en" => "Whippet"], ["breed_cz" => "White Shepherd", "breed_en" => "White Shepherd"], ["breed_cz" => "Whoodle", "breed_en" => "Whoodle"], ["breed_cz" => "Wire Fox Terrier", "breed_en" => "Wire Fox Terrier"], ["breed_cz" => "Wirehaired Pointing Griffon", "breed_en" => "Wirehaired Pointing Griffon"], ["breed_cz" => "Wirehaired Vizsla", "breed_en" => "Wirehaired Vizsla"], ["breed_cz" => "Xoloitzcuintli", "breed_en" => "Xoloitzcuintli"], ["breed_cz" => "Yo-Chon", "breed_en" => "Yo-Chon"], ["breed_cz" => "Yorkie Pom", "breed_en" => "Yorkie Pom"], ["breed_cz" => "Yorkiepoo", "breed_en" => "Yorkiepoo"], ["breed_cz" => "Yorkshire Terrier", "breed_en" => "Yorkshire Terrier"], ["breed_cz" => "Appenzell Mountain Dog", "breed_en" => "Appenzell Mountain Dog"]]; Breed::truncate(); foreach ($breeds as $breed) { Breed::create($breed); } foreach (Breed::all() as $breed) { $breed->url_name = strtolower(str_replace(' ', '-', $breed->breed_en)); $breed->save(); } }
/** * Bootstrap the application services. * * @return void */ public function boot() { View::composer('cats.index', function ($view) { $view->with('rjb', 4237); }); View::composer('cats.edit', function ($view) { $breeds = Breed::all(); if (count($breeds) > 0) { $breed_options = array_combine($breeds->lists('id'), $breeds->lists('name')); } else { $breed_options = array(null, 'Unspecified'); } $view->with('breed_options', $breed_options); }); }
return View::make('home'); }); Route::get('rjb/{age}', ['middleware' => 'App\\Http\\Middleware\\OldMiddleware', function ($age) { return "rjb -> " . $age; }]); Route::get('jeff', 'WelcomeController@sendJson'); Route::get('about', function () { return View::make('about')->with(['number_of_cats' => 999]); }); Route::get('cats', function () { $cats = Cat::all(); return View::make('cats.index', compact('cats')); // ->with('cats', $cats); }); Route::get('cats/breeds/{name}', function ($name) { $breed = Breed::whereName($name)->with('cats')->first(); return View::make('cats.index')->with('breed', $breed)->with('cats', $breed->cats); }); //Route::get('cats/{id}', function($id) { // $cat = Cat::find($id); // // return View::make('cats.single') // ->with('cat', $cat); //}); // // The following route: cats/{cat} leverages the use of model binding to // replace the about route definition: cats/{id} Route::get('cats/{cat}', function (Cat $cat) { // $cat = Cat::find($id); return View::make('cats.single')->with('cat', $cat); });